﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="document.aspx.cs" Inherits="js组件_jquery_document" %>
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="Document.xsl"?>
<data>
<form runat="server" id="form1">
    <li style="height: 144px">

        <asp:Button ID="Button1" runat="server" Text="Button" />

    </li>
    <li>
            
            <span>
        <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1" 
                EnableViewState="False">
                <ItemTemplate>
                <tab>
                    <id>
                       <%#Eval("Id")%> 
                    </id>
                    <p>
                        
                            <%#Eval("Title")%>
                    </p>
                      <!--link to other file
                     <link>?id=<%#Eval("Id")%></link>-->
                    <cont>
                        <%#Server.HtmlEncode(Eval("Content").ToString())%>
                    </cont>
                </tab>
               </ItemTemplate>
        </asp:Repeater>
               
            </span>

        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SqlConn %>" 
            SelectCommand="SELECT [Id], [Title], [Content] FROM [Ask]">
        </asp:SqlDataSource>
    </li>
</form>
</data>